#ifndef __MAX30102_APP_H__
#define __MAX30102_APP_H__

#include "stdbool.h"

#define MAX30102_HAL_DEBUG 1

#ifdef __cplusplus
extern "C"
{
#endif

    typedef struct
    {
        uint8_t heart_rate_date;
        uint8_t spo2_date;
        bool read_status;
    } max30102_app;

    void max30102_app_status_set(void);
    bool max30102_app_status_get(void);
    uint8_t max30102_get_heart_rate(void);
    uint8_t max30102_get_spo2(void);
    void max30102_task(void *arg);

#ifdef __cplusplus
}
#endif

#endif
